﻿/*
 *********************************************************************
 *    Management Extensions for Windows Windows Server AppFabric     *
 *********************************************************************
 *    Author    : Fatih Boy [fatih@enterprisecoding.com]             *
 *    Web site  : http://www.enterprisecoding.com                    *
 *********************************************************************
 *    License   : GNU Library General Public License (LGPL)          * 
 *********************************************************************
 */

using System;
using System.Runtime.InteropServices;

namespace Com.Enterprisecoding.AppFabric.Extensions.Client.ObjectPicker {
    internal class PInvoke {
        [DllImport("Kernel32.dll")]
        public static extern IntPtr GlobalFree(IntPtr pGlobalAllocMem);

        [DllImport("Kernel32.dll")]
        public static extern IntPtr GlobalLock(IntPtr hMem);

        [DllImport("Kernel32.dll")]
        public static extern bool GlobalUnlock(IntPtr hMem);
    }
}